<?php 
	jimport('joomla.application.component.view');
	//thuc hien goi  model phu hop
	class kinh_doanhViewdanh_sach_kho extends JView
	{
		function display($tpl=null)
		{
			
            $model = $this->getModel();
            $data =  $model->ds_kho();
            print_r($data);
            foreach($data as $row)
            {
                ?>
                    <div>
                        <a href="index.php?option=com_kinh_doanh&task=sp_trong_kho_lon&id=<?php echo $row->id;?>"><?php echo $row->name;?></a>
                    </div>
                <?php
            }       
		}	
	}
?>